package com.test.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
/**
 * 注意要再监听器初始化时扫描需要委托的过滤器bean，因为servlet容器初始化顺序为listener>filter>servlet
 * 如果再servlet dispatcher 中扫描会导致DelegatingFilterProxy初始花的时候找不到委托bean
 */
@ComponentScan("com.test.filter")
public class RootConfig {
}
